the gettime() function returns the number of miliseconds since then:
the getfullyear() method returns the full year of a date:
the getmonth() method returns the month of a date:
the getDate() method returns the day of a date as a number (1-31):
the getHours() method returns the Hours of a date as a number (0-23):
the getMinutes() method returns the Minutes of a date as a number (0-59):
the getSeconds() method returns the Seconds of a date as a number (0-59):
the getMilliseconds() method returns the Milliseconds of a date as a number (0-999):
the getDay() method returns the weekday of a date as a number (0-6):
the getDay() method returns the weekday as a name of a date as a number (0-6):